public class FomStudent extends Fommie
{
	private String name;
	private String surname;
	private int matrikelNr;
	private int bancAccount;
	
	public FomStudent(String name, String surname, int matrikelNr, int bancAccount)
	{
		super("FOM");
		this.name = name;
		this.surname = surname;
		this.matrikelNr = matrikelNr;
		this.bancAccount = bancAccount;
	}
	
	public void print()
	{
		System.out.println("Ich bin ein FOmStudent");
	}
	
	public String getName()
	{
		return name;
	}
	
	public String getSurname()
	{
		return surname;
	}
	
	public int getMatrikelNr()
	{
		return matrikelNr;
	}
	
	public int getBancAccount()
	{
		return bancAccount;
	}
}